package com.xinian.springclud_demo.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessException  extends RuntimeException{
    /**
     * 错误编码
     */
    protected  Integer errorCode;
    /**
     * 错误提示
     */
    protected String errorMeg;
}
